package com.service.impl;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;

import com.mapper.AdminMapper;
import com.mapper.EquityRecordMapper;
import com.po.Admin;
import com.po.EquityRecord;
import com.service.AdminService;
import com.service.EquityRecordService;
@Service("EquityRecordService")
public class EquityRecordServiceImpl implements EquityRecordService {
	@Autowired
	private EquityRecordMapper mapper;




	
	@Override
	public void update(EquityRecord admin) {
		mapper.update(admin);
		
	}
	@Override
	public void add(EquityRecord admin) {
		mapper.add(admin);
		
	}
	@Override
	public void del(int id) {
		mapper.del(id);
		
	}
	@Override
	public EquityRecord findById(int id) {
		return mapper.findById(id);
	}


	@Override
	public List<EquityRecord> list() {
		// TODO Auto-generated method stub
		return mapper.list();
	}
	@Override
	public List<EquityRecord> IntegralReport() {
		// TODO Auto-generated method stub
		return mapper.IntegralReport();
	}
	@Override
	public List<EquityRecord> searchlist(EquityRecord record) {
		// TODO Auto-generated method stub
		return mapper.searchlist(record);
	}
	

}
